An alias of Bucket::new for less verbose usage
An alias of ReadonlyBucket::new for less verbose usage
currval returns the last value returned by nextval. If the sequence has never been used,
then it will return 0.
nextval increments the counter by 1 and returns the new value.
On the first time it is called (no sequence info in db) it will return 1.
An alias of PrefixedStorage::new for less verbose usage
An alias of ReadonlyPrefixedStorage::new for less verbose usage
Sequence creates a custom Singleton to hold an empty sequence
An alias of Singleton::new for less verbose usage
An alias of ReadonlySingleton::new for less verbose usage
Calculates the raw key prefix for a given namespace as documented
in https://github.com/webmaster128/key-namespacing#length-prefixed-keys
Calculates the raw key prefix for a given nested namespace
as documented in https://github.com/webmaster128/key-namespacing#nesting